package com.zjq.smartdevice.service.impl;

import com.zjq.smartdevice.mapper.SysHumitureMapper;
import com.zjq.smartdevice.pojo.SysHumiture;
import com.zjq.smartdevice.service.SysHumitureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @User zhangjiaqi
 * @Project project
 * @Package com.zjq.smartdevice.service.impl
 * @Date 2022/3/27 22:58
 */
@Service
@Transactional
public class SysHumitureServiceImpl implements SysHumitureService {

    private SysHumitureMapper sysHumitureMapper;

    @Autowired
    public void setSysHumitureMapper(SysHumitureMapper sysHumitureMapper) {
        this.sysHumitureMapper = sysHumitureMapper;
    }

    @Override
    public void addSysHumiture(SysHumiture sysHumiture) {
        sysHumitureMapper.addSysHumiture(sysHumiture);
    }
}
